﻿<!DOCTYPE html>
<html>
<!--
Copyright ©2014-2015 AECT-LKAOE 2015 Conference Organization Committe
Alpha Build 20140317.1
-->
@{
    var time1 = DateTime.Now;
}
<head id="jibach">
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/content/pesssite.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
<![endif]-->
<noscript>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
</noscript>



    <link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/content/scrolltable.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css" />


    @*<link href="@Url.Content("~/Scripts/scrolltable/css/960.css")" rel="stylesheet" media="screen" />
    <link href="@Url.Content("~/Scripts/scrolltable/css/myTheme.css")" rel="stylesheet" media="screen" />*@




    <script>
        var browerName = navigator.userAgent.toLowerCase();
        var jsLink = document.createElement("link");
        if (!(/msie/i.test(browerName))) {
            jsLink.rel = "stylesheet";
            jsLink.type = "text/css";
            jsLink.href = "@Url.Content("~/content/pesssite_mobile.css")";
            document.getElementById("jibach").appendChild(jsLink);
        }
    </script>

    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/themes/base/css")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/jqueryui")

    @*<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>*@
    
    @RenderSection("Styles", false)
    @RenderSection("JavaScript",false)

        @*<script src="@Url.Content("~/Scripts/scrolltable/jquery.fixedheadertable.js")"></script>
    <script src="@Url.Content("~/Scripts/scrolltable/demo.js")"></script>*@
    <script src="@Url.Content("~/Scripts/custom.js")"></script>


</head>
<body id="fuying">
<div id="box">
	<div id="top">
        <h2><a id="lhome" href="http://aect.org/chinasymposium/" title="AECT-LKAOE 2015">AECT-LKAOE 2015 Summer International Research Symposium</a></h2>
   	    <div id="logoon">@Html.Partial("_LogOnPartial")</div>
        <div id="nav">
            <ul>
                @*<li><a  href="/Activity" class="selected">All Events</a></li>*@
                @*<li><a  href="/">Notice</a></li>*@
                @*<li><a  href="/">Announcement</a></li>*@
                <li>
                   @* @if(Membership.GetUser()!=null) //Commented out
                    {
                        @Html.ActionLink("帮助","Download","Home",new {filename="help.zip"},null)
                    }*@
                </li>
                <li>
                    @if(Roles.IsUserInRole("Admin"))
                    {
                        @Html.ActionLink("System Settings","SystemSettings","Home")
                    }

                </li>
            </ul>
        </div>
        <div id="subNav">
            @Html.Partial("_ActivityNavPartial",HttpContext.Current.Session["ActivityID"]==null?-1:(int)HttpContext.Current.Session["ActivityID"])
        </div>
	</div>
    <div id="content">
    	<div id="left">left</div>
        <div id="right">
            @RenderBody()
        </div>
    </div>
</div>
<div id="footer">
  <div id="footerBody">
      Copyright ©&#8195;AECT-LKAOE 2015 Summer International Research Symposium. &#8195;All Rights Reserved.
      <div style="display:none">Build 20140503b. Page was loaded at @System.DateTime.Now.ToString() in @((DateTime.Now-time1).TotalSeconds.ToString("#0.000")) s on server.</div>
  </div>
</div>
<!--[if lt IE 7]>
    <link href="@Url.Content("~/content/cssie6.css")" rel="stylesheet" type="text/css"/>
<![endif]-->
<script >
    function setDivHeight() {
        if (document.getElementById("box").clientHeight < document.documentElement.clientHeight - 55) {
            document.getElementById("footer").style.height = document.documentElement.clientHeight - document.getElementById("box").clientHeight + "px";
        } else {
            document.getElementById("footer").style.height = "55px";
        }
        //alert(document.getElementById("footer").style.height + "      " + document.documentElement.clientHeight + "     " + document.getElementById("box").clientHeight);
	}
	window.onresize=function (){
		setDivHeight();
	}
	setDivHeight();
</script>

@*    @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)*@

    <script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-51495221-1', '202.120.85.31');
        ga('send', 'pageview');

    </script>
</body>
</html>
